The size of the texture in pixels.
The brush used as a key for texture cache.
The texture.
AddTexture(Size,Brush,Byte[]) Method
Adds the texture to the Texturecache
Syntax
public void AddTexture( 
   Size size,
   Brush brush,
   byte[] texture
)

Parameters

size
The size of the texture in pixels.
brush
The brush used as a key for texture cache.
texture
The texture.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also